package com.up.stores.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author KLE1NBLUE&LackOxy
 * @since 2022-10-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="District对象", description="")
public class District implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "地区id")
    @TableId(value = "dis_id", type = IdType.AUTO)
    private Integer disId;

    @ApiModelProperty(value = "父地区编号")
    private String parent;

    @ApiModelProperty(value = "地区编号")
    private String code;

    @ApiModelProperty(value = "地区名")
    private String name;


}
